import { combineReducers } from 'redux';
import { connectRouter } from 'connected-react-router'
import tabReducer from './tabReducer.js'
import menuReducer from './menuReducer.js'
import commentReducer from'./commentReducer.js'
import restaurantReducer from'./restaurantReducer.js'
import scrollViewReducer from '../../../component/ScrollView/scrollViewReducer.js'
const reducers= (history) => combineReducers({
  tabReducer,
  menuReducer,
  commentReducer,
  restaurantReducer,
  scrollViewReducer,
  router: connectRouter(history)
})

export default reducers
